package com.aqumon.www.entity.persistent;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * jenkins服务器配置
 * </p>
 *
 * @author aqumon
 * @since 2022-05-19
 */
@Getter
@Setter
@TableName("jenkins_config")
@ApiModel(value = "JenkinsConfig对象", description = "jenkins服务器配置")
public class JenkinsConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("jenkins服务器名称")
    @TableField("jenkins_name")
    private String jenkinsName;

    @ApiModelProperty("jenkins服务器地址")
    @TableField("jenkins_url")
    private String jenkinsUrl;

    @ApiModelProperty("jenkins用户名")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty("jenkins访问令牌")
    @TableField("token")
    private String token;

    @ApiModelProperty("jenkins访问密码")
    @TableField("password")
    private String password;

    @ApiModelProperty("'记录创建时间'")
    @TableField("gmt_created")
    private Date gmtCreated;

    @ApiModelProperty("'记录修改时间")
    @TableField("gmt_modified")
    private Date gmtModified;
}
